﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ValidationHelper.Validators
{
    public class NullStringValidator : StringValidator
    {
        #region Construtores
        public NullStringValidator(string message, Type exceptionType, string stringToValidate)
            : base(message, exceptionType, stringToValidate) { }
        #endregion

        #region Métodos
        protected override bool IsNotValid()
        {
            return string.IsNullOrEmpty(StringToValidate);
        }
        #endregion
    }
}
